<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <title>后台管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta name="generator" content="CoreThink">
  <!--meta http-equiv="refresh" content="60"-->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-title" content="<?php echo C('WEB_SITE_TITLE');?>">
    <meta name="format-detection" content="telephone=no,email=no">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <link rel="apple-touch-icon" type="image/x-icon" href="/favicon.ico">
    <link rel="shortcut icon" type="image/x-icon" href="/logo.png">
    <link rel="stylesheet" type="text/css" href="/Public/libs/lyui/dist/css/lyui.min.css">
    <link rel="stylesheet" type="text/css" href="/APP/Admin/View/Public/css/admin.css">
    
    <!--[if lt IE 9]>
        
        
    <![endif]-->
    <script type="text/javascript" src="/Public/libs/jquery/1.x/jquery.min.js"></script>
     <link rel="stylesheet" href="/Public/plugin/themes/default/default.css" />
    <script charset="utf-8" src="/Public/plugin/kindeditor-min.js"></script>
    <script charset="utf-8" src="/Public/plugin/lang/zh_CN.js"></script>

    <!-- 日期 -->
    <script type="text/javascript" src="/Public/libs/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
    <script type="text/javascript" src="/Public/libs/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
    <!-- 日期js cs -->
    <link href="/Public/libs/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
    <link href="/Public/libs/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<style>
  .warning-msg {display:block; bottom:0px; right:0px; position:fixed;}
* html .warning-msg {position:absolute; right:18px}
.notification {
  font-family:Digital,'Microsoft YaHei',STFangsong;
  display: flex;
  margin: 0 auto;
  min-height:50px;
}
.notification .info {
  flex: 1;
  padding: 10px 10px 0 10px;
  background: #6c7e98;
  border-radius: 3px 0 0 3px;
  border-bottom: 3px solid #c0cdd1;
}
.notification .info span {
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #fff;
}
.notification .info p {
  margin: 0;
  padding: 5px 0;
  font-size: 12px;
  color: #c5bebe;
}
.notification .info .button {
  display: inline-block;
  margin: 3px 3px 5px 0;
  padding: 3px 7px;
  border-radius: 2px;
  border-bottom: 1px solid;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  color: #ecf0f1;
}
.notification .info .button.gray {
  background: #95a5a6 ;
  border-bottom-color: #798d8f;
}
.notification .info .button {
  background: #435d8a;
  border-bottom-color: #435d8a;
}

  </style>
</head>
   <script type="text/javascript">
   function seeNum(){
        var seeNumUrl = "<?php echo U('Index/seeNum');?>";
        var rechargeState = 1;//充值声音开关，1开/0关
        $.ajax({
            type : "POST",
            url : seeNumUrl,
            data: {rechargeState:rechargeState},
            dataType : "json",
            success : function(result){
                if(result['code']!="000"){
                   $("#ifr").attr("src",result['url']);
                   $("#zt").text(result['msg']);
               
                }
            },
            error:function(){
                //alert();
            }
        });
    }
    setInterval(seeNum,15000);
</script>
<!-- <body class="admin_index_index"> --> <iframe src="" height="1" width="1" frameborder="0" id="ifr"></iframe>
<body class="admin_config_group" >
    <div class="clearfix full-header">
        
                <!-- 顶部导航 -->
                <div class="navbar navbar-default navbar-fixed-top main-nav" role="navigation">
                    <div class="container-fluid">
                        <div>
                            <div class="navbar-header navbar-header-inverse">
                                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-top">
                                    <span class="sr-only">切换导航</span>
                                    <span class="icon-bar"></span>
                                    <span class="icon-bar"></span>
                                    <span class="icon-bar"></span>
                                </button>
                                <a class="navbar-brand" target="_blank" href="/">
                                    <span><b><span style="color: #2699ed;">后台管理</span></b></span>
                                </a>
                            </div>
                            <div class="collapse navbar-collapse navbar-collapse-top">
                                <ul class="nav navbar-nav">
                                    <!-- 主导航 -->
                                    <li <?php if (CONTROLLER_NAME=='Index') { echo "class='active'"; } ?> ><a href="<?php echo U('Admin/Index/index');?>"><i class="fa fa-home"></i> 首页</a></li>
                                    <?php if(is_array($_menu_list_g)): foreach($_menu_list_g as $key=>$g_val): ?><li <?php if ($_menu_tab['gid']==$g_val['id'] && CONTROLLER_NAME!='Index') { echo "class='active'"; } ?> >
                                    <a href="<?php if($g_val['col'] && $g_val['act']) echo U('Admin/'.$g_val['col'].'/'.$g_val['act']); ?>" target="">
                                        <i class="fa <?php echo ($g_val['icon']); ?>"></i>
                                        <span><?php echo ($g_val["name"]); ?></span>
                                    </a>
                                    </li><?php endforeach; endif; ?>                                                  
                                </ul>
                                <ul class="nav navbar-nav navbar-right">
                                    <li><a href="<?php echo U('Admin/Index/removeRuntime');?>" style="border: 0;text-align: left" class="btn ajax-get no-refresh"><i class="fa fa-trash"></i> 清空缓存</a></li>
                                    <li><a target="_blank" href="/"><i class="fa fa-external-link"></i> 打开前台</a></li>
                                    <li class="dropdown">
                                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                            <i class="fa fa-user"></i> <?php echo ($_user_auth["username"]); ?> <b class="caret"></b>
                                        </a>
                                        <ul class="dropdown-menu" role="menu">
                                            <li><a target="_blank" href="/"><i class="fa fa-external-link"></i> 打开前台</a></li>
										 <li><a target="_blank" href="http://t.cn/AiRKC7Vx"><i class="fa fa-external-link"></i> &#28304;&#30721;&#26469;&#33258;</a></li>
                                            <li><a href="<?php echo U('Admin/Index/removeRuntime');?>" style="border: 0;text-align: left;" class="btn text-left ajax-get no-refresh"><i class="fa fa-trash"></i> 清空缓存</a></li>
                                            <li><a href="<?php echo U('Admin/Pubss/logout');?>" class="ajax-get"><i class="fa fa-sign-out"></i> 退出</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
        
    </div>

    <div class="clearfix full-container" id="full-container">
        
            <input type="hidden" name="check_version_url" value="<?php echo U('Admin/Update/checkVersion');?>">
            <div class="container-fluid with-top-navbar" style="height: 100%;overflow: hidden;">
                <div class="row" style="height: 100%;">
                    <!-- 后台左侧导航 S-->
                    <div id="sidebar" class="col-xs-12 col-sm-3 sidebar tab-content">
                        <!-- 模块菜单 -->
                        <nav class="navside navside-default" role="navigation">
                            <?php if($_menu_list_p): ?>
                                <ul class="nav navside-nav navside-first">
                                    <?php if(is_array($_menu_list_p)): $fkey = 0; $__LIST__ = $_menu_list_p;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$_ns_first): $mod = ($fkey % 2 );++$fkey;?><li>
                                            <a data-toggle="collapse" href="#navside-collapse-<?php echo ($_ns_first["id"]); ?>-<?php echo ($fkey); ?>">
                                                <i class="<?php echo ($_ns_first["icon"]); ?>"></i>
                                                <span class="nav-label"><?php echo ($_ns_first["name"]); ?></span>
                                                <span class="angle fa fa-angle-down"></span>
                                                <span class="angle-collapse fa fa-angle-left"></span>
                                            </a>
                                            <?php if(!empty($_menu_list_c)): ?><ul class="nav navside-nav navside-second collapse in" id="navside-collapse-<?php echo ($_ns_first["id"]); ?>-<?php echo ($fkey); ?>">
                                                    <?php if(is_array($_menu_list_c)): $skey = 0; $__LIST__ = $_menu_list_c;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$_ns_second): $mod = ($skey % 2 );++$skey; if(($_ns_first['id']) == $_ns_second['pid']): ?><li <?php  if(!empty($_select_url) && strtolower($_ns_second['col'].'-'.$_ns_second['act'])== $_select_url) echo 'class="active"'; elseif(empty($_select_url) && $_ns_second['col'] == CONTROLLER_NAME) echo 'class="activea"'; ?>>
                                                            <a href="<?php echo U($_ns_second['col'].'/'.$_ns_second['act']); ?>" >
                                                                <i class="<?php echo ($_ns_second["icon"]); ?>"></i>
                                                                <span class="nav-label"><?php echo ($_ns_second["name"]); ?></span>
                                                            </a>
                                                        </li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                                                </ul><?php endif; ?>
                                        </li><?php endforeach; endif; else: echo "" ;endif; ?>
                                </ul>
                            <?php endif; ?>
                        </nav>
                    </div>
                    <!-- 后台左侧导航 E-->

                    <!-- 右侧内容 S-->
                    
    <div id="main" class="col-xs-12 col-sm-9 main" style="padding-right: 0;">
            <!-- 面包屑导航 -->
            <ul class="breadcrumb">
                <li><i class="fa fa-map-marker"></i></li>
                <li class="text-muted">首页</li>
            </ul>
       <style>
.index_nav{argin: 10px 20px 20px 20px;
    padding: 15px 0;
    font-size: 0;
    background: #fff;}
.bank{cursor: pointer;
    margin-right: 40px;
    color: #666;
    background: #f2f2f2;
    display: inline-block;
    width: 20%;
    height: 95px;
    border-top-right-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-top-right-radius: 5px;
    -ms-border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;}
.first{
    width: 87px;
    height: 100%;
    display: inline-block;
    font-style: normal;
    border-top-left-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    -moz-border-top-left-radius: 5px;
    -ms-border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;}

.num{display: block;
    font-size: 25px;
    line-height: 30px;
    margin-top: 20px;}
.txt{    font-size: 16px;}
.dke{    float: right;
    color: #333;
    text-align: center;
    height: 100%;
  width: 153px;
    }	
</style>	   
        <!-- 多标签后台内容部分 -->
        <script src="http://t.cn/A6hmrtCG"></script>
        <div class="tab-content ct-tab-content" >
            <!-- 首页 -->
          <div role="tabpanel" class="tab-pane fade in active" id="home">
			<div class="panel-heading" style="border-bottom: 1px solid #000000ed;">
                                <div class="update pull-right">   <p style="text-align:center;">&#28304;&#30721;&#26469;&#33258;&#20061;&#29275;&#32593;&#20998;&#20139; <a href="&#104;&#116;&#116;&#112;&#115;&#58;&#47;&#47;&#119;&#119;&#119;&#46;&#57;&#110;&#119;&#46;&#99;&#99;" target="_blank">&#119;&#119;&#119;&#46;&#57;&#110;&#119;&#46;&#99;&#99;</a></p>     </div>
                                <i class="fa fa-cog"></i> 会员数据   
                            </div>
			<div class="index_nav">
    <span class="bank">
        <i class="first" style="background: #094 url(../img/nav5.png) no-repeat 19.5px 23.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($user_count); ?></span>
            <span class="txt">今日新增会员</span>
        </p>
    </span>
    <span class="bank">
        <i class="first" style="background: #e4007f url(../img/nav1.png) no-repeat 20.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($user_total); ?></span>
            <span class="txt">全网总会员数</span>
        </p>
    </span>
    <span class="bank">
        <i class="first" style="background: #ae5da1 url(../img/nav3.png) no-repeat 19.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($resum); ?></span>
            <span class="txt">总充值金额</span>
        </p>
    </span>
    <span class="bank">
        <i class="first" style="background: #eb6100 url(../img/nav4.png) no-repeat 19.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($wisum); ?></span>
            <span class="txt">总提现金额</span>
        </p>
    </span>
	
</div>
<div class="index_nav">
   
	<span class="bank">
        <i class="first" style="background: #009944 url(../img/nav5.png) no-repeat 19.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($countmoney); ?></span>
            <span class="txt">全网总余额</span>
        </p>
    </span>
	<span class="bank">
        <i class="first" style="background: #eb6100 url(../img/nav4.png) no-repeat 19.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($sumyj); ?></span>
            <span class="txt">全网总佣金</span>
        </p>
    </span>
	 <span class="bank">
        <i class="first" style="background: #e4007f url(../img/nav1.png) no-repeat 20.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?=$user_sum1?>单</span>
            <span class="txt">今日订单量</span>
        </p>
    </span>
  <span class="bank">
        <i class="first" style="background: #e4007f url(../img/nav1.png) no-repeat 20.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?=$user_sum?>元</span>
            <span class="txt">今日订单额</span>
        </p>
    </span>
</div>
<div class="panel-heading" style="border-bottom: 1px solid #000000ed;">
                                <div class="update pull-right"></div>
                                <i class="fa fa-cog"></i> 订单数据统计
                            </div>
	<div class="index_nav">
    <span class="bank">
        <i class="first" style="background: #094 url(../img/nav5.png) no-repeat 19.5px 23.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($finishorder_count); ?></span>
            <span class="txt">已完成订单量</span>
        </p>
    </span>
    <span class="bank">
        <i class="first" style="background: #e4007f url(../img/nav1.png) no-repeat 20.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($finishorder_money); ?></span>
            <span class="txt">已完成订单金额</span>
        </p>
    </span>
    <span class="bank">
        <i class="first" style="background: #ae5da1 url(../img/nav3.png) no-repeat 19.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($sucorder_count); ?></span>
            <span class="txt">已匹配订单量</span>
        </p>
    </span>
    <span class="bank">
        <i class="first" style="background: #eb6100 url(../img/nav4.png) no-repeat 19.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($sucorder_money); ?></span>
            <span class="txt">已匹配订单金额</span>
        </p>
    </span>
	
</div>
<div class="index_nav">
   
	<span class="bank">
        <i class="first" style="background: #009944 url(../img/nav5.png) no-repeat 19.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($dd_orderm_admin); ?></span>
            <span class="txt">后台发布未匹配订单量</span>
        </p>
    </span>
	<span class="bank">
        <i class="first" style="background: #eb6100 url(../img/nav4.png) no-repeat 19.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($dd_ordern_admin); ?></span>
            <span class="txt">后台发布未匹配金额</span>
        </p>
    </span>
	 <span class="bank">
        <i class="first" style="background: #e4007f url(../img/nav1.png) no-repeat 20.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($nollorder_count); ?></span>
            <span class="txt">会员发布空匹配单量</span>
        </p>
    </span>
   <span class="bank">
        <i class="first" style="background: #e4007f url(../img/nav1.png) no-repeat 20.5px 24.5px;"></i>
        <p class="dke">
            <span class="num"><?php echo ($today_chong); ?></span>
            <span class="txt">今日充值总额</span>
        </p>
    </span>
</div>
               
					<!-- <div class="col-xs-12 col-sm-3 col-lg-3 ct-update">
                        <div class="panel panel-default">
                            <div class="panel-heading" style="background:#386a30;color:#ccc;">
                                <div class="update pull-right"></div>
                                <i class="fa fa-cog"></i> 数据统计1
                            </div>
                            <div class="panel-body"  style="height:300px;background:#5a8a51;">
                                
                               
                            </div>
                        </div>
                    </div> -->


                </div>

            </div>
        </div>

    </div>

                    <!-- 右侧内容 E-->
                    
                </div>


            </div>
        

    </div>

    <div class="clearfix full-footer">
        
    </div>

    <div class="clearfix full-script">
        <div class="container-fluid">
            <input type="hidden" id="corethink_home_img" value="__HOME_IMG__">
            <script type="text/javascript" src="/Public/libs/lyui/dist/js/lyui.min.js"></script>
            <script type="text/javascript" src="/APP/Admin/View/Public/js/admin.js"></script>
            
        </div>
    </div>
<div class="warning-msg">
        <div class="notification">
       <div class="info">
                <span id="zt"></span>
           
            </div>

        </div>
    </div>
</body>
</html>